package cn.kgc.itrip.service.linkUserService;

import cn.kgc.itrip.dto.Dto;
import cn.kgc.itrip.vo.userinfo.ItripAddUserLinkUserVO;
import cn.kgc.itrip.vo.userinfo.ItripModifyUserLinkUserVO;
import cn.kgc.itrip.vo.userinfo.ItripSearchUserLinkUserVO;

import javax.servlet.http.HttpServletRequest;

public interface UserInfoService {

    //新增联系人
    Dto addUserLink(ItripAddUserLinkUserVO itripAddUserLinkUserVO, HttpServletRequest request)throws Exception;

    //删除联系人
    Dto delLinkuser(Integer ids, String token)throws Exception;

    //查询联系人
    Dto findLinkUser(ItripSearchUserLinkUserVO itripSearchUserLinkUserVO, String token);

    //修改联系人
    Dto modUserLinkUser(String token, ItripModifyUserLinkUserVO itripModifyUserLinkUserVO)throws Exception;
}
